package com.hlg.xboot.enums;

/**
 * <p>Description:角色类型</p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: 中视数讯</p>
 * <p>Site: www.digi-zones.com</p>
 *
 * @author gaol
 * @version 1.0
 * @date 2017/2/8
 */
public enum RoleType {
    SYSTEM("admin", 1), //系统默认、不可更改
    USER("user", 2);//用户添加、可编辑

    private String desc;

    private int value;

    RoleType(String desc, int value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
